9d49ecfb5066e404f59e439d53fc8bc4273e33e8,framework/base/src/org/ofbiz/base/util/BshUtil.java,BshUtil,eval,#String#Map#,58
Before Change
}
if (Debug.verboseOn()) {
Debug.logVerbose("Evaluating -- " + expression, module);
Debug.logVerbose("Using Context -- " + context, module);
}
try {
Interpreter bsh = makeInterpreter(context);
// evaluate the expression
o = bsh.eval(StringUtil.convertOperatorSubstitutions(expression));
if (Debug.verboseOn()) {
Debug.logVerbose("Evaluated to -- " + o, module);
}
// read back the context info
NameSpace ns = bsh.getNameSpace();
After Change
if (Debug.verboseOn())
Debug.logVerbose("Evaluating -- " + expression, module);
if (Debug.verboseOn())
Debug.logVerbose("Using Context -- " + context, module);
try {
Interpreter bsh = makeInterpreter(context);
// evaluate the expression
o = bsh.eval(expression);
if (Debug.verboseOn())
Debug.logVerbose("Evaluated to -- " + o, module);
// read back the context info
NameSpace ns = bsh.getNameSpace();